package com.xiaobingby.common.entity;

import com.baomidou.mybatisplus.plugins.Page;
import lombok.Data;

/**
 * @author 李磊
 * @date 2019/5/8
 */
@Data
public class EUDataGridQuery {
    private int page;
    private int rows;
    private String sort;
    private String order;
    public Page getPage(){
        return new Page(page,rows,sort,"asc".equals(order)?true:false);
    }
}
